package stableproject;

import java.util.ArrayList;

import japa.parser.ast.body.Parameter;
import japa.parser.ast.visitor.VoidVisitorAdapter;

/**
 * Simple visitor implementation for visiting MethodDeclaration nodes.
 */
public class ParameterVisitor extends VoidVisitorAdapter {

	ArrayList<String> paramList;

	public ParameterVisitor() {
		paramList = new ArrayList<String>();
	}

	@Override
	public void visit(Parameter p, Object arg) {
		paramList.add(p.getId().getName());
	}

}
